id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Variablesaddition4

prev  |  next  |  chance

Determine the value returned by the function. Pay attention to data types!

def add_str(x, y):
    answer = x + y
    return answer
Function Call  Return Value
add_str('ab', 'cd')
add_str('3', '2')
add_str('ca', 't')
add_str('Athenian', 'Owls')
add_str('read ', 'books')
add_str('5', '-5')

Experiment with this code on Gitpod.io

⬅ Back